package com.example.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hello
 * @since 2024-07-03
 */
@Getter
@Setter
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @TableField("wechat_OpenID")
    private String wechatOpenid = "null";

    @TableField("wechat_UnionID")
    private String wechatUnionid = "null";

    @TableField("wechat_session_key")
    private String wechatSessionKey = "null";

    @TableField("wechat_nickname")
    private String wechatNickname = "null";

    @TableField("wechat_avatar")
    private String wechatAvatar = "null";

    @TableField("user_points")
    private Integer userPoints = 0;

    public User() {
    }
}
